<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<script type="text/javascript">
			document.write('<script src="../../js/fix.js?rd=?rd=' + Math.random() + '"><\/script>');
		</script>
		<script type="text/javascript">
			link(['../../css/myCommon.css','../../css/list/listDetail.css']);
		</script>
	</head>

	<body class="bg-white">
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon iconfont icon-2fanhui mui-pull-left"></a>
			<h1 class="mui-title">报警详情</h1>
			<!--<div class="mui-pull-right"><button class="btn green">视频监控</button></div>-->
		</header>
			<a class="mui-tab-item mui-active" data-type="1">
				<span class="mui-tab-label">所有信息<i></i></span>
			</a>
			<a class="mui-tab-item" data-type="2">
				<span class="mui-tab-label">已处理<i></i></span>
			</a>
			<a class="mui-tab-item" data-type="3" id="myfriendmatch">
				<span class="mui-tab-label">未处理<i></i></span>
			</a>
		</nav>
		<div class="mui-content mui-scroll-wrapper" id="pullrefresh">
			<div class="mui-scroll">
				<ul class="mui-table-view" id="alarmDetailWrap">
						
				</ul>
			</div>
		</div>
		<script type="text/html" id="alarmDetail">
			<li class="mui-table-view-cell">
				<label>单位名称：</label>
				<div class="controls">
					{{unitName}}
				</div>
			</li>
			<li class="mui-table-view-cell">
				<label>类型：</label>
				<div class="controls">{{codeName}}</div>
			</li>
			<li class="mui-table-view-cell">
				<label>报警描述：</label>
				<div class="controls">{{alarmInfo}}</div>
			</li>
			<li class="mui-table-view-cell">
				<label>报警分类：</label>
				<div class="controls">{{className}}</div>
			</li>
			<li class="mui-table-view-cell">
				<label>时间：</label>
				<div class="controls">{{alarmTime}}</div>
			</li>
			<li class="mui-table-view-cell">
				<label>地点：</label>
				<div class="controls">{{unitAddress}}</div>
			</li>
			<li class="mui-table-view-cell title-cell">
				<div class="title">平面图</div>
				<div class="actions">
					<button class="btn green" id="openImg">打开</button>
				</div>
			</li>
			<div class="img-wrap" id="imgWrap" style="display: none;">
				<img src="{{svgFile}}" width="100%"/>
			</div>
		</script>
		<script type="text/javascript">
			//必须顺序加载
			script(['../../js/alarm/alarmDetail.js']);
		</script>
	</body>

</html>
